#ifndef LOGIN_H
#define LOGIN_H

#include <QDialog>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlQuery>
#include "sqldatabase.h"

namespace Ui {
class login;
}

class login : public QDialog
{
    Q_OBJECT

public:
    explicit login(QWidget *parent = nullptr);
    void sendpixmap(QString pixmap_inform);
    ~login();

private slots:
    void on_lineEdit_editingFinished();

    void on_pushButton_clicked();

private:
    Ui::login *ui;
    sqliteDatabase sql;
    QPixmap pixmap;
    QString text;
    QString map_inform;
    QString pwd;
    QSqlQuery * pQuery;
signals:
    void sendParameter(QString pixmap);
};

#endif // LOGIN_H
